# encoding=utf-8
class SchoolStationAtt:
    """
    园所微站属性
    """
    """
    园所简介属性
    """
    #学校简介页面title
    schoolstation_introduce_title_xpath='//ul/li/a[text()="学校简介"]'
    # 学校简介页面图片
    schoolstation_introduce_photo_id = 'imgUpload'
    # 学校简介页面简介内容
    schoolstation_introduce_text_name = 'schoolInfo'
    # 学校简介页面保存按钮
    schoolstation_introduce_save_xpath = '//button[@type="submit"]'
    #学校简介，上传照片按钮
    schoolstation_introduce_upload_id="btnUpload"

    """
    特色教育属性
    """
    schoolstation_education_textframe_id='baidu_editor_0'
    schoolstation_education_savebtn_id='btnSubmit'
    schoolstation_education_split_list=['<body spellcheck="false" style="overflow-y: hidden;" contenteditable="true">',"</body>"]

    """
    园所动态属性
    """
    #富文本编辑器frame
    schoolstation_dynamic_textframe_id = 'baidu_editor_0'
    #发布新闻按钮
    schoolstation_dynamic_publishdynamicbtn_href = 'toAddSchoolNew.jhtml'
    #发布新闻里面的新闻标题
    schoolstation_dynamic_publish_title_css = 'input.form-control.dynamicTitles'
    # 发布新闻里面的校园活动
    schoolstation_dynamic_publish_huodong_xpath = '//input[@type="radio" and @value="3"]'
    # 发布新闻里面的上传照片按钮
    schoolstation_dynamic_publish_addphoto_id='btnUpload'
    # 发布新闻里面的上立即发布按钮
    schoolstation_dynamic_publish_publish_xpath = '//button[@type="submit"]'

    #模块首页新闻列表
    schoolstation_dynamic_newslist_css="div.topic-item.clearfix"
    schoolstation_dynamic_newsfirsttitle_tag = "h3"
    schoolstation_dynamic_newsfirstdelete_tag = "button"
    #删除新闻的确认按钮
    schoolstation_dynamic_delete_class='layui-layer-btn0'
    #新闻列表里面的编辑按钮
    schoolstation_dynamic_newsfirstedit_tag="a"

    """
    校园风采模块
    """
    # 校园风采模块未能上傳的图片列表
    schoolstation_elegant_disimages_xpath = '//img[contains(@src,"/img/temlateImg.png")]'
    #模板圖片命名
    schoolstation_elegant_tempimgname='temlateImg.png'
    #上传按钮xpath
    schoolstation_elegant_uploadbtns_xpath="//button[@class='btn btn-primary']"
    #删除按钮xpath
    schoolstation_elegant_delbtns_css='button.btn.btn-danger.deleteImg'